home *** CD-ROM | disk | FTP | other *** search
Wrap
<panel> <boolean id="save_current_state" value="true"/> <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" /> <!-- main area with panels / one visible at a time --> <container class="titled_box" id="tptb" title="Panels"> <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" /> <!-- view menu --> <!-- there are two reasons for 'emulating' the multibox menu here; 1) multiboxes does not support the widgets inframe yet, 2) multiboxes does not allow menu separators yet --> <container embed_in_frame="true"> <layout class="arrange_horizontal_attachment" alignment="right" embed_in_frame="true"/> <layout class="stick_to_sides_attachment" alignment="top" inset="0" layout_children="true" embed_in_frame="true"/> <layout class="stick_to_sides_attachment" alignment="top,right" embed_in_frame="true" inset="3"/> <layout class="fit_children_attachment" alignment="vertical" embed_in_frame="true"/> <layout class="fit_children_attachment" alignment="horizontal,fill" embed_in_frame="true"/> <!-- Set to button for setting to a player type--> <widget class="embedded_popup_button" id="pstp" text="Set To[COMMENT: player instructions: set to preset popup menu label]" fixed="true" auto_size="all" embed_in_frame="true"> <flags id="sele" value="tteh"/> <list id="items" /> </widget> <!-- view menu button --> <widget class="embedded_popup_button" id="tpvm" sele="shom" text="View" save_current_state="true" fixed="true" auto_size="all" embed_in_frame="true"> <boolean id="auto_tick_exclusive" value="true" /> <list id="items"> <record text="Positions" id="posn"> <boolean id="tick" value="false"/> </record> <record id="----" /> <record text="Team Instructions" id="tetb" /> <record text="Player Instructions" id="pltb" /> <record id="----" /> <record text="Captains" id="cptb" /> <record text="Playmakers" id="plmt" /> <record text="Target Men" id="tmtb" /> <record text="Penalty Takers" id="pktb" /> <record text="Free Kick Takers" id="fktb" /> <record text="Corner Takers" id="cktb" /> <record text="Throw In Takers" id="titb" /> </list> <!-- view menu items --> <flags id="selection" value="posn" /> </widget> <!-- popup button --> </container> <!-- view menu in frame container --> <container class="multi_box" title="Panels" id="tdmb" > <flags id="top_kind" value="gbox" /> <flags id="top_layout" value="horizontal" /> <record id="top_properties"> <flags id="auto_size" value="horizontal" /> <boolean id="fixed" value="true" /> <string id="text" value="View" /> </record> <flags id="bottom_kind" value="gbox"/> <flags id="bottom_layout" value="horizontal" /> <record id="bottom_properties" /> <flags id="contents_kind" value="gbox" /> <flags id="changed_event" value="eipc" /> <boolean id="save_current_state" value="true"/> <flags id="default_item" value="posn" /> <container class="group_box" id="posn" title="Positions"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" /> <widget class="pitch_with_tactics" id="ptch"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" /> <boolean id="vert" value="true"/> <integer id="pprd" value="3"/> <!-- normal run, darkened run, drag run colours --> <colour id="ncol" name="selection" /> <colour id="dcol" name="grey" /> <colour id="gcol" name="gold"/> </widget> </container> <!-- this is player instructions (+set pieces) panel --> <widget class="group_box" id="pltb" title="Player Instructions" > <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" /> <widget class="scrolling_box"> <widget class="group_box"> <layout class="arrange_vertical_attachment" alignment="top" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <layout class="fit_children_attachment" alignment="vertical,fill" inset="0" /> <widget class="group_box" id="lpli" title="Player Instructions" > <layout class="arrange_vertical_attachment" alignment="top" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <layout class="fit_children_attachment" alignment="vertical, fill" offset="0" /> <widget class="player_instructions_panel" id="plip" /> </widget> <widget class="group_box" id="lpsp" title="Player Set Piece Instructions" > <layout class="arrange_vertical_attachment" alignment="top" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <layout class="fit_children_attachment" alignment="vertical, fill" offset="0" /> <widget class="player_set_piece_instructions_panel" id="pspp" /> </widget> </widget> </widget> </widget> <!-- this is team instructions (+set piecse) panel --> <widget class="group_box" id="tetb" title="Team Instructions" > <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" /> <widget class="scrolling_box" id="test"> <widget class="group_box" id="kev "> <layout class="arrange_vertical_attachment" alignment="top" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <layout class="fit_children_attachment" alignment="vertical, fill" inset="0" /> <widget class="group_box" id="ltei" title="Team Instructions" > <layout class="arrange_vertical_attachment" alignment="top" /> <layout class="stick_to_sides_attachment" alignment="top,horizontal" layout_children="true" inset="0" /> <layout class="fit_children_attachment" alignment="vertical, fill" offset="0" /> <widget class="team_instructions_panel" id="teip" /> </widget> <widget class="group_box" id="ltsp" title="Team Set Piece Instructions"> <layout class="arrange_vertical_attachment" alignment="top" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <layout class="fit_children_attachment" alignment="vertical, fill" offset="0" /> <widget class="team_set_piece_instructions_panel" id="tspp" /> </widget> </widget> </widget> </widget> <!-- this is the captains panel --> <widget class="group_box" id="cptb" title="Captains"> <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="capt" title="Captains" set_piece_type="7" /> </widget> <!-- playmaker panel --> <widget class="group_box" id="plmt" title="Playmakers"> <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="plat" set_piece_type="8" /> </widget> <!-- target men panel --> <widget class="group_box" id="tmtb" title="Target Men"> <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="tamt" set_piece_type="9"/> </widget> <!-- this is the penalty taker panel --> <widget class="group_box" id="pktb" title="Penalty Takers" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="pent" set_piece_type="6"/> </widget> <!-- this is the free kick taker panel (left/right) --> <widget class="group_box" id="fktb" title="Free Kick Takers"> <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="group_box" title="Free Kick Takers (Left)" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="fklt" set_piece_type="0"/> </widget> <widget class="group_box" title="Free Kick Takers (Right)" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="fkrt" set_piece_type="1"/> </widget> </widget> <!-- this is the corner kick taker panel (left/right) --> <widget class="group_box" id="cktb" title="Corner Kick Takers" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="group_box" title="Corner Kick Takers (Left)" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="colt" set_piece_type="2"/> </widget> <widget class="group_box" title="Corner Kick Takers (Right)" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="cort" set_piece_type="3"/> </widget> </widget> <!-- this is the throw in taker panel (left/right) --> <widget class="group_box" id="titb" title="Throw In Takers" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="group_box" title="Throw In Takers (Left)" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="tilt" set_piece_type="4"/> </widget> <widget class="group_box" title="Throw In Takers (Right)" > <layout class="arrange_vertical_attachment" alignment="fill" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <widget class="set_piece_takers_panel" id="tirt" set_piece_type="5"/> </widget> </widget> </container> <!-- multi box --> </container> <!-- titled box --> </panel>